package com.organization.util;

/**
 * Created with IntelliJ IDEA.
 * User: inester
 * Date: 06.07.12
 * Time: 13:45
 * To change this template use File | Settings | File Templates.
 */
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public abstract class CustomHibernateDaoSupport extends HibernateDaoSupport
{
    @Autowired
    public void anyMethodName(SessionFactory sessionFactory)
    {
        setSessionFactory(sessionFactory);
    }
}